import Vue from "vue";
import event from "@/utils/event";

Vue.config.productionTip = false;
// 引入全局样式
import "../style/index.scss";

// 注册全局第三方ui库
import ViewUI from "view-design";
import "view-design/dist/styles/iview.css";
Vue.use(ViewUI);

// 注册整页翻页插件
import "fullpage.js/vendors/scrolloverflow";
import VueFullPage from "vue-fullpage.js";
Vue.use(VueFullPage);

// 注册全局自定义组件
import "@/components";

// 注册全局自定义方法
import { log } from "@/api";

Object.defineProperty(Vue.prototype, "$log", { value: log });
Object.defineProperty(Vue.prototype, "$event", { value: event });
